package unamur.iodass.communication.messages;

public class ContratBookStore  extends Message{

	private BookStore bookStore;
	private long isbn;
	private int minimum;
	
	
	/**
	 * 
	 * @param nameBookStore
	 * @param isbn
	 * @param minimum
	 */
	public ContratBookStore(BookStore bookstore, long isbn, int minimum){
		this.bookStore = bookstore;
		this.isbn = isbn;
		this.minimum = minimum;
	}

	public long getIsbn() {
		return isbn;
	}

	public int getMinimum() {
		return minimum;
	}

	public BookStore getBookStore() {
		return bookStore;
	}
	
	
	public String toString() {
		return "BSName : " + this.bookStore.getName() + "\tISBN : "+ this.isbn + "\t Prix Vendu : "+ this.minimum;
	}
	
}
